@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>小说管理管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#TimeCon id="beginTime" name="开始时间" isTime="false" pattern="YYYY-MM-DD" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="endTime" name="结束时间" isTime="false" pattern="YYYY-MM-DD" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="snovelName" name="书名" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="snovelAuthor" name="作者" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="schapter" name="章节" />
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="sstatus" name="状态" >
                                    <option value="2">全部</option>
                                    <option value="1">上架</option>
                                    <option value="0">下架</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="splacedTop" name="置顶" >
                                    <option value="2">全部</option>
                                    <option value="1">是</option>
                                    <option value="0">否</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="srecommend" name="推荐" >
                                    <option value="2">全部</option>
                                    <option value="1">是</option>
                                    <option value="0">否</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="ssourcesId" name="来源" >
                                    <option value="0">全部</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="NovelMgr.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="NovelMgrTableToolbar" role="group">
                            <#button name="查看详情" icon="fa-plus" clickFun="NovelMgr.detail()"/>
                            @if(shiro.hasPermission("/novelMgr/add")){
                                <#button name="添加" icon="fa-plus" clickFun="NovelMgr.openAddNovelMgr()"/>
                            @}
                            @if(shiro.hasPermission("/novelMgr/update")){
                                <#button name="修改" icon="fa-plus" clickFun="NovelMgr.openNovelMgrDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/novelMgr/delete")){
                                <#button name="删除" icon="fa-plus" clickFun="NovelMgr.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="NovelMgrTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/crawler/novelMgr/novelMgr.js"></script>
@}
